import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import HelloTest from '@/components/HelloTest'
import Login from '@/pages/login/index.vue'
import Enter from '@/pages/enter/index.vue'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },
    {
      path: '/HelloTest',
      name: 'HelloTest',
      component: HelloTest
    },
    {
      path: '/login',
      name: 'Login',
      component: Login
    },
    {
      path: '/enter',
      name: 'Enter',
      component: Enter
    }
  ]
})
